SGSetSoundInputDriver
Some sound channel components may use sound input devices to obtain their source data. TheSGSetSoundInputDriver
function allows the sequence grabber component to assign a sound input device to your sound channel.
pascal ComponentResult SGSetSoundInputDriver (SGChannel c, const Str255 driverName);
c
- Identifies the channel connection for this operation.
driverName
- Specifies the name of the sound input device. This is a Pascal string, and it must correspond to a valid sound input device.
DESCRIPTION
If your sound channel component does not use sound input devices, return a nonzero result code.RESULT CODES
noDeviceForChannel -9400 Channel component cannot find its device cantDoThatInCurrentMode -9402 Request invalid in current mode deviceCantMeetRequest -9408 Device cannot support grabber SEE ALSO
For more information about sound input devices, see Inside Macintosh: More Macintosh Toolbox--in particular, refer to the discussion of theSPBGetIndexedDevice
function in the chapter "Sound Manager."
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help